package com.three.iot.jdbc.mapper;

import com.three.iot.commons.dto.DeviceCondDto;
import com.three.iot.jdbc.model.TDeviceInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TDeviceInfoMapper extends AbstractDeviceInfoMapper{
    List<TDeviceInfo> selectByIotIds(List<String> iotList);

    TDeviceInfo selectByIotId(String iotId);

    List<TDeviceInfo>  selectList(DeviceCondDto deviceCondDto);

    List<TDeviceInfo> selectAll();

    /**
     * 模糊查询
     * @param condStr
     * @return
     */
    List<TDeviceInfo>  selectLike(@Param("condStr") String condStr);
}